package com.gzxx.domain.po;

import com.baomidou.mybatisplus.annotation.TableName;
import com.gzxx.domain.base.BaseEntity;
import lombok.Builder;
import lombok.Getter;
import lombok.ToString;

import java.io.Serializable;

/**
 * @author MAX
 * @date 2020/7/22 3:10 下午
 */

@Getter
@ToString(callSuper = true)
@TableName("sys_user")
public class SysUser extends BaseEntity implements Serializable {

    private static final long serialVersionUID = -7229136215409166702L;

    private String userAccount;
    private String userPassword;
    private String employeeName;
    private String nickName;
    private String email;
    private String mobile;
    private Integer gender;
    private String avatar;
    private Integer accountStatus;

    @Builder
    private SysUser(Long id, String userAccount, Long createBy, Long updateBy, Integer revision, String idempotent, String userPassword, String employeeName, String nickName, String email, String mobile, Integer gender, String avatar, Integer accountStatus) {
        super(id, createBy, updateBy, revision, idempotent);
        this.userAccount = userAccount;
        this.userPassword = userPassword;
        this.employeeName = employeeName;
        this.nickName = nickName;
        this.email = email;
        this.mobile = mobile;
        this.gender = gender;
        this.avatar = avatar;
        this.accountStatus = accountStatus;
    }
}
